﻿using ExcelSystem.Model;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelSystem.ViewModelsClass
{
    public class BOMViewModel : BindableBase
    {
        /// <summary>
        /// 排产日期
        /// </summary>
        public DateTime SchedulingDate { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate { get; set; }


        private BOM data;

        /// <summary>
        ///  物料实体
        /// </summary>
        public BOM Data
        {
            get { return data; }
            set { SetProperty(ref data, value); }
        }


        private string ribbedFormula;

        /// <summary>
        ///  板筋公式
        /// </summary>
        public string RibbedFormula
        {
            get { return ribbedFormula; }
            set { SetProperty(ref ribbedFormula, value); }
        }

        private string ropeHeadFormula;

        /// <summary>
        ///  绳头公式
        /// </summary>
        public string RopeHeadFormula
        {
            get { return ropeHeadFormula; }
            set { SetProperty(ref ropeHeadFormula, value); }
        }






    }
}
